home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
lib
/
include
/
ds3100.md
/
sys
/
dmap.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-09-12
|
682b
|
30 lines
/* @(#)dmap.h 4.1.1.1 (ULTRIX) 1/28/88 */
/*
* Definitions for the mapping of virtual swap
* space to the physical swap area - the disk map.
*/
#define NDMAP 48 /* size of the swap area map */
struct dmap
{
swblk_t dm_size; /* current size used by process */
swblk_t dm_alloc; /* amount of physical swap space allocated */
swblk_t dm_map[NDMAP]; /* first disk block number in each chunk */
};
#ifdef KERNEL
struct dmap zdmap;
int dmmin, dmmax, dmtext;
#endif
/*
* The following structure is that ``returned''
* from a call to vstodb().
*/
struct dblock
{
swblk_t db_base; /* base of physical contig drum block */
swblk_t db_size; /* size of block */
};